<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <h1>买家端</h1>

    <a href="/buyer/product/list">获取买家端的商品列表</a>
    <br>

    创建订单：
    <form action="/buyer/order/create" method="post">
        <input type="hidden" name="id" value="1"/>
        用户: <input type="text" name="name" value="张三"/>
        手机: <input type="text" name="phone" value="17791923720"/>
        地址: <input type="text" name="address" value="西安市雁塔区"/>
        商品：<input type="text" name="items" value="[{productId: '1', productQuantity: 2 }]"/>
        <input type="submit" name="submit" value="提交" />
    </form>

    <a href="/buyer/order/list/1">获取买家端的订单列表</a>
    <br>

    <a href="/buyer/order/listPage/1?page=1&pageSize=1">分页获取买家端的订单列表</a>
    <br>

    <a href="/buyer/order/detail?buyerId=1&orderId=1543146377875171551">获取买家端的订单详情</a>
    <br>

    取消订单
    <form action="/buyer/order/cancel" method="post">
        <input type="hidden" name="buyerId" value="1"/>
        订单id: <input type="text" name="orderId" value="1543146377875171551"/>
        <input type="submit" name="submit" value="提交" />
    </form>




    <hr>




    <h1>卖家端</h1>

    <a href="/seller/toLogin">进入卖家端登录页面</a>
    <br>
    <a href="/seller/toLogin">拦截卖家端所有未授权的请求</a>
    <br>

</body>
</html>